//
// Created by syj on 2024/3/14.
//

#ifndef TRANSMIDDLE_LOG_CONFIG_H
#define TRANSMIDDLE_LOG_CONFIG_H

#include <stdexcept>
#include <string>

#include "middle/log/common/common.h"

namespace log
{
    /**
     * 日志配置
     */
    struct LogConfig {
        std::string id;
        log::LogLevel level;
        log::LogMode mode;
        std::string filedir;
        std::string filename;
        size_t filesize;
        size_t filenum;
        size_t interval;
    };
}

#endif //TRANSMIDDLE_LOG_CONFIG_H
